#include "EXLib.h"

int main ()
{
    exCreateWindow (800, 600);
    
    exEnableLight ();
    
    exEnableLamp   (0); 
    exEnableLamp   (1);
    exEnableLamp   (2);
    
    exSetLampPos   (0,   0,   0, 0);
    exSetLampPos   (1, 800,   0, 0);
    exSetLampPos   (2, 800, 600, 0);
    
    exSetLampDir   (0);
    exSetLampDir   (1);
    exSetLampDir   (2);
    
    exSetLampColor (0, EX_RED);
    exSetLampColor (1, EX_LIB);
    exSetLampColor (2, EX_GREEN);
    
    exSetColor (EX_WHITE);
    exSphere   (400, 300, 0, 200);        
    
    while (true)
    {
        exProcessMessages ();
    }
}
